package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.AdvanceContractRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.CollectInAdvanceExportRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.CollectInAdvanceRespVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.CollectInAdvanceDO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.IncomeDetailReportDO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.ReportContractInfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 权责收入 转换类
 */
@Mapper
public interface CollectInAdvanceConvert {

    CollectInAdvanceConvert INSTANCE = Mappers.getMapper(CollectInAdvanceConvert.class);

    List<CollectInAdvanceRespVO> convertDOList2AdvanceVOList(List<CollectInAdvanceDO> advanceDOList);

    List<AdvanceContractRespVO> convertDOList2AdvanceContractVOS(List<CollectInAdvanceDO> advanceDOList);

    List<CollectInAdvanceExportRespVO> convertDOList2AdvanceExport(List<CollectInAdvanceDO> advanceDOList);


    CollectInAdvanceDO converDetail2Advance(IncomeDetailReportDO incomeDetail);



}
